package swing.admin.common;


import swing.admin.views.main.*;

import java.awt.*;
import java.util.ArrayList;
import java.util.List;

/**
 * @author admin
 */
public class AdminContext {

    private final Font defaultFont =  new Font("黑体", Font.PLAIN, 16);

    private final List<BaseMainCard> menuCardList = new ArrayList<>();

    {
        menuCardList.add(new UserMainCard("用户管理"));
        menuCardList.add(new TeacherMainCard("教师管理"));
        menuCardList.add(new StudentMainCard("学生管理"));
        menuCardList.add(new CourseMainCard("课程管理"));
        menuCardList.add(new MajorMainCard("专业管理"));
        menuCardList.add(new GradeMainCard("成绩管理"));
    }

    public Font getDefaultFont() {
        return defaultFont;
    }

    public List<BaseMainCard> getMenuCardList() {
        return menuCardList;
    }
}
